package com.wcards.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("宠物信息表")
@TableName("animal_info")
public class AnimalInfo implements Serializable {
    @TableId(value ="animal_numbers",type = IdType.AUTO)
    @ApiModelProperty( "动物编号")
    private Integer animalNumbers;
    @ApiModelProperty("动物名称")
    private String animalName;
    @ApiModelProperty("品种")
    private String breed;
    @ApiModelProperty("动物状态（分为待领养、常住救助站、救助期）")
    private Integer animalStatus;
    @ApiModelProperty("动物年龄")
    private Integer animalAge;
    @ApiModelProperty("动物详情")
    private String animalDetails;
    @ApiModelProperty("动物头像")
    private String animalImage;
}
